import {createRouter,createWebHistory} from "vue-router"

export default createRouter({
    history: createWebHistory("client"),
    routes: [
        {
            path: "/",
            redirect: "/home"
        },{
            path: "/home",
            name: "Home",
            component: ()=> import("../../pages/Home.vue")
        },{
            path: "/books",
            name: "Books",
            component: ()=> import("../../pages/Books.vue")
        },{
            path: "/search",
            name: "Search",
            component: ()=> import("../../pages/Search.vue")
        },{
            path: "/feedback",
            name: "Feedback",
            component: ()=> import("../../pages/Feedback.vue")
        },{
            path: "/sign",
            name: "Sign",
            component: ()=> import("../../pages/Sign.vue"),
            meta: {
                isScreenFul: true
            }
        },{
            path: "/article",
            name: "Article",
            component: ()=> import("../../pages/Article.vue")
        },{
            path: "/getPassword",
            name: "GetPassword",
            component: ()=> import("../../pages/GetPassword.vue"),
            meta: {
                isScreenFul: true
            }
        },{
            path: "/user",
            name: "User",
            component: ()=> import("../../pages/User.vue"),
            meta: {
                isScreenFul: true
            }
        }
    ]
})